{template header}
<div id="noticeBox">
	<div class="left">
		<span>站内公告：</span>
		<marquee behavior="scroll" direction="left" scrollamount="4" onmouseover="this.stop()" onmouseout="this.start()">
			{loop $webglobal['file_news']['notice'] $key $value}
				{$value['autoindex']}.{$value['textlink']}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			{/loop}
		</marquee>
	</div>
</div>
{templatecss news}
<script type="text/javascript" charset="utf-8" src="{WEBURLPATH}/javascript/base64.js"></script>
<script type="text/javascript" src="{WEBURLPATH}/javascript/jcarousellite_1.0.1.js"></script>
<!-- /header -->
<div class="w960 center clear mt1">
 <div class="pleft">
  <div class="bignews">
   <!--头条-->
	<div class="onenews">
		{loop $webglobal['file_news']['onenews'] $new}
		<h2><a href="$new['arcurl']">{$new['title']}</a></h2>
		<p>$new['info']<a href="$new['arcurl']">[查看全文]</a></p>
		{/loop}
	</div>
   <!-- /onenews -->
   <div class="d1">
    {loop $webglobal['file_news']['fournews'] $article}
	<div class='d1arc'><a href="{$article['arcurl']}">{$article['title']}</a></div>
	{/loop}
   </div>
   <!--/头条-->
   <div class="newarticle">最新文章</div>
   <ul class="c2 ico1">
    <!--最新文档-->
	{loop $webglobal['file_news']['newarticle'] $article}
	<li><a href="{$article['arcurl']}">{$article['title']}</a></li>
	{/loop}
    <!--//最新文档-->
   </ul>
  </div>
  <!-- /bignews -->
  <div class="flashnews">
   <!-- size: 280px * 192px -->
   <script language="javascript">
linkarr = new Array();
picarr = new Array();
textarr = new Array();
var swf_width=280;
var swf_height=192;
//文字颜色|文字位置|文字背景颜色|文字背景透明度|按键文字颜色|按键默认颜色|按键当前颜色|自动播放时间|图片过渡效果|是否显示按钮|打开方式
var configtg='0xffffff|0|0x9c4929|5|0xffffff|0xC5DDBC|0x000033|2|3|1|_blank';
var files = "";
var links = "";
var texts = "";

{loop $webglobal['file_news']['flashnews'] $article}
linkarr[{$article['autoindex']}] = "{$article['arcurl']}";
picarr[{$article['autoindex']}]  = "{$article['litpic']}";
textarr[{$article['autoindex']}] = "{echo SpHtml2Text($article['title'])}";
{/loop}

for(i=1;i<picarr.length;i++){
if(files=="") files = picarr[i];
else files += "|"+picarr[i];
}
for(i=1;i<linkarr.length;i++){
if(links=="") links = escape(linkarr[i]);
else links += "|"+escape(linkarr[i]);
}

for(i=1;i<textarr.length;i++){
if(texts=="") texts = textarr[i];
else texts += "|"+textarr[i];
}
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ swf_width +'" height="'+ swf_height +'">');
document.write('<param name="movie" value="{WEBURLPATH}/images/news/bcastr3.swf"><param name="quality" value="high">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'&bcastr_config='+configtg+'">');
document.write('<embed src="{WEBURLPATH}/images/news/bcastr3.swf" wmode="opaque" FlashVars="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'&bcastr_config='+configtg+'&menu="false" quality="high" width="'+ swf_width +'" height="'+ swf_height +'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>');
</script>
  </div>
  <!-- /flashnews -->
  <div class="latestnews">
   <dl class="tbox light">
    <dt class="light"></dt>
    <dd class="light">
     <ul class="d2 ico2">
		{loop $webglobal['file_news']['lightarticle'] $article}
		<li><span>{$article['stime']}</span><a href="{$article['arcurl']}">{$article['title']}</a></li>
		{/loop}
     </ul>
    </dd>
   </dl>
  </div>
  <!-- /latestnews -->
  <div class="picnews">
   <dl class="tbox light">
    <dt class="light"><strong></strong></dt>
    <dd class="light">
     <div class="infiniteCarousel">
      <div class="wrapper carousel">
       <ul id="imgscroll">
		{loop $webglobal['file_news']['imgscroll'] $article}
		<li><a href="$article['arcurl']">$article['image']<span class="title">$article['title']</span></a></li>
		{/loop}
       </ul>
      </div>
	  <!-- <a class="arrow back" href="#">&lt;</a>
	  <a class="arrow forward" href="#">&gt;</a> -->
     </div>
    </dd>
   </dl>
  </div>
  <!-- /picnews -->
  <div class="listbox"> 
	{loop $webglobal['file_news']['channelartlist'] $channel}
	<dl class="tbox">
		<dt><strong><a href="{$channel['typeurl']}">{$channel['typename']}</a></strong><span class="more"><a href="{$channel['typeurl']}">更多...</a></span></dt>
		<dd>
		<ul class="d1 ico3">
			{loop $channel['list'] $article}
				<li><span>{$article['stime']}</span><a href="{$article['arcurl']}">{$article['title']}</a></li>
			{/loop}
		</ul>
		</dd>
	</dl>
	{/loop}
  </div>
  <!-- /listbox -->
 </div>
 <!-- /pleft -->
 <div class="pright">
  <div class="usercenter">
   <dl class="tbox light">

    <dt class="light"> <strong>互动中心</strong> <span class="label" id="usermenu"> <a _for="uc_digg" href="#" class="thisclass">个人用户</a><a _for="uc_member" href="#" >商家</a> </span> </dt>
    <dd id="loading" style="display: none;"> 正在载入,请稍候... </dd>
    <dd id="uc_digg" style="display: block;height:auto;">
		<div id="loginBox" style="background:none;height:150px">
			<form action="{WEBURLPATH}/login.php?check" id="loginform" onsubmit="checkpass('password1')" name="loginform" method="post">
			<input type="hidden" name="user_type" id="login_user_type" value="0" />
			<label>
			<span>邮箱：</span><input type="text" name="username" class="txtIpt">
			</label>
			<div style="height:5px"></div>
			<label><span>密码：</span><input type="password" name="password" id="password1" class="txtIpt"><a title="忘记密码了？" href="{WEBURLPATH}/login.php?action=findpass" class="forgetPwdA" id="login_findpass"></a></label><div style="height:5px"></div>
			<label id="chkLabel"><input type="checkbox" value="1" name="remember" class="chkIpt">记住我</label>
			<label id="subLabel"><input type="submit" value="" class="btnIpt"><a title="免费注册" href="{WEBURLPATH}/register.php" id="login_register">免费注册</a></label>
			</form>
		</div>
    </dd>
    <!-- /uc_digg -->
    <!-- /uc_comment -->
	<dd id="uc_member" style="height:auto;">
		<div id="loginBox" style="background:none;height:150px">
			<form action="{WEBURLPATH}/login.php?check" id="loginform" onsubmit="checkpass('password2')" name="loginform" method="post">
			<input type="hidden" value="1" id="login_user_type" name="user_type">
			<label>
			<span>邮箱：</span><input type="text" name="username" class="txtIpt">
			</label>
			<div style="height:5px"></div>
			<label><span>密码：</span><input type="password" name="password" id="password2" class="txtIpt"><a title="忘记密码了？" href="{WEBURLPATH}/login.php?action=comfindpass" class="forgetPwdA" id="login_findpass"></a></label><div style="height:5px"></div>
			<label id="chkLabel"><input type="checkbox" value="1" name="remember" class="chkIpt">记住我</label>
			<label id="subLabel"><input type="submit" value="" class="btnIpt"><a title="免费注册" href="{WEBURLPATH}/register.php?action=regcom" id="login_register">免费注册</a></label>
			</form>
		</div>
	</dd>
	<dd id="member_info" style="display: none;height:139px;">
	</dd>
	<!-- /uc_member -->
	</dl>
	
  </div>
  <!-- /usercenter -->
  <div style="margin:10px auto" id="rightAD1"></div>
  <div class="commend mt1">
   <dl class="tbox light">
    <dt class="light"><strong>推荐内容</strong></dt>
    <dd class="light">
     <ul class="c1 ico2">
		{loop $webglobal['file_news']['commend'] $article}
			<li class='dotline'><a href="{$article['arcurl']}">{$article['title']}</a></li>
		{/loop}
     </ul>
    </dd>
   </dl>
  </div>
  <!-- /commend -->
  <div style="margin:10px auto" id="rightAD1"></div>
  <div class="hot mt1">
   <dl class="tbox light">
    <dt class="light"><strong>本月热点</strong></dt>
    <dd class="light">
     <ul class="c1 ico2">
		{loop $webglobal['file_news']['hot'] $article}
			<li class='dotline'><a href="{$article['arcurl']}">{$article['title']}</a></li>
		{/loop}
     </ul>
    </dd>
   </dl>
  </div>
  <!-- /vote -->
  <div style="margin:10 auto"></div>
 </div>
 <!-- /pleft -->
</div>

<script language="javascript" type="text/javascript">
<!--
	function checkpass(id){
		var password = $('#'+id).val();
		var b = new Base64();
		var str = b.encode(password);
		$('#'+id).val(str);
		return false;
	}
	
	$(document).ready(function() {
		$("a[_for]").click(function(){
			$(this).parents().children("a[_for]").removeClass("thisclass").parents().children("dd").hide();
			$(this).addClass("thisclass").blur();
			$("#"+$(this).attr("_for")).show();
		});
		$(".carousel").jCarouselLite({
			speed: 2000,
			visible: 4,
			auto: 800
		});
	});
-->
</script>
{template footer}
